package com.fg.cloud.manager.entry.factory;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fg.cloud.common.annotation.Column;
import com.fg.cloud.common.finals.Compare;
import com.fg.cloud.manager.entry.BaseEntity;

/**
  * Description:厂商用户实体类
  * @author shaoqiping
  * @date 2017年8月3日上午10:05:48
*/
public class FactoryUserEntity extends BaseEntity {

	private static final long serialVersionUID = 8330964578544712804L;
	
	/**厂商id*/
	private Long facId;
	/**用户名*/
	@Column(compare=Compare.LIKE)
	private String userName;
	/**密码（MD5加密）*/
	@JsonIgnore
	private String password;
	/**状态：1=有效 0=未启用 -1=待审核*/
	private Integer status;
	/**姓名*/
	@Column(compare=Compare.LIKE)
	private String trueName;
	/**性别:0.女      1.男*/
	private Integer sex;
	/**身份证证号*/
	private String idCard;
	/**部门*/
	private String dept;
	/**电话*/
	private String tel;
	/**手机号*/
	@Column(compare=Compare.LIKE)
	private String phone;
	/**用户头像*/
	private String picUrl;
	/**用户类别1=厂商；0=平台用户*/
	private Integer userType;
	/**用户的邮箱地址，密码重置时需要*/
	@Column(compare=Compare.LIKE)
	private String email;
	/**是否为厂商管理员：0，否；1，是*/
	private Integer isAdmin;
	/**经销商价格是否可见 0 不可见 1 可见*/
	private Integer isShowPrice;
	/**描述*/
	private String remark;
	/**账号状态  1=正常   -1=删除的*/
	@JsonIgnore
	private Integer isDeleted;

	public Long getFacId() {
		return facId;
	}

	public void setFacId(Long facId) {
		this.facId = facId;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getTrueName() {
		return trueName;
	}

	public void setTrueName(String trueName) {
		this.trueName = trueName;
	}

	public Integer getSex() {
		return sex;
	}

	public void setSex(Integer sex) {
		this.sex = sex;
	}

	public String getIdCard() {
		return idCard;
	}

	public void setIdCard(String idCard) {
		this.idCard = idCard;
	}

	public String getDept() {
		return dept;
	}

	public void setDept(String dept) {
		this.dept = dept;
	}

	public String getTel() {
		return tel;
	}

	public void setTel(String tel) {
		this.tel = tel;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getPicUrl() {
		return picUrl;
	}

	public void setPicUrl(String picUrl) {
		this.picUrl = picUrl;
	}

	public Integer getUserType() {
		return userType;
	}

	public void setUserType(Integer userType) {
		this.userType = userType;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public Integer getIsAdmin() {
		return isAdmin;
	}

	public void setIsAdmin(Integer isAdmin) {
		this.isAdmin = isAdmin;
	}

	public Integer getIsShowPrice() {
		return isShowPrice;
	}

	public void setIsShowPrice(Integer isShowPrice) {
		this.isShowPrice = isShowPrice;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Integer getIsDeleted() {
		return isDeleted;
	}

	public void setIsDeleted(Integer isDeleted) {
		this.isDeleted = isDeleted;
	}

}
